package io.renren.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;

/**
 * 消费明细
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2020-04-12
 */
@Data
@ApiModel(value = "消费明细")
public class XlsLogCashDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "账户流水主键")
	private Long id;

	@ApiModelProperty(value = "现金类型 1,消费账户 2.现金账户 3.伯乐收益 4.批发收益 5.线下充值.6手动补单现金 7.手动补单消费,8消费转现金,9现金转消费,10现金提现到银行卡,11提现拒绝,12使用优惠券,13批发消费减少,14批发消费增加 ,15等级级差奖励,16奖励转现金,17代理奖励,18库存转交易余额，19交易余额记录 20 销售奖,21手动补单奖励，22手动补单交易，23手动补单团队业绩24奖励账户提现手续费25奖励账户提现26消费账户提现27消费账户提现费用28提现额度控制29手续费退回,30领导奖")
	private Integer type;

	@ApiModelProperty(value = "发起用户ID 0为平台")
	private Long fromId;

	@ApiModelProperty(value = "目标用户ID 0为平台")
	private Long userId;

	@ApiModelProperty(value = "对应订单号")
	private String orderNo;

	@ApiModelProperty(value = "操作前的金额")
	private BigDecimal preCash;

	@ApiModelProperty(value = "流水标志 -1减少 1增加")
	private Integer cashType;

	@ApiModelProperty(value = "变动金额")
	private BigDecimal cash;

	@ApiModelProperty(value = "备注")
	private String remark;

	@ApiModelProperty(value = "有效状态 1有效-1删除")
	private Integer dataFlag;

	@ApiModelProperty(value = "创建时间")
	private Date createTime;


}